package cc.opcol.iot.server.sdk;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.ApplicationContext;
import org.springframework.stereotype.Component;

@Component
public class SpringBeanHelper {
    @Autowired
    ApplicationContext context;

    public Object get(String name){
        return context.getBean(name);
    }
}
